package com.viphuli.app.tool.bean.part;

import com.google.gson.annotations.SerializedName;
import com.viphuli.app.tool.utils.OtherUtils;

/**
 * 排班信息
 * 
 * @author li.li
 *
 */
public class ArrangeInfo {

	@SerializedName("arrange_info_id")
	private int id;

	@SerializedName("name")
	private String name;

	@SerializedName("time")
	private long time;

	@SerializedName("from_user")
	private AccountUser fromUser;

	@SerializedName("to_user")
	private AccountUser toUser;

	@SerializedName("verifier")
	private AccountUser verifier;

	@SerializedName("arrange_type_info")
	private ArrangeType arrangeTypeinfo;

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public AccountUser getFromUser() {
		return fromUser;
	}

	public void setFromUser(AccountUser fromUser) {
		this.fromUser = fromUser;
	}

	public AccountUser getToUser() {
		return toUser;
	}

	public void setToUser(AccountUser toUser) {
		this.toUser = toUser;
	}

	public AccountUser getVerifier() {
		return verifier;
	}

	public void setVerifier(AccountUser verifier) {
		this.verifier = verifier;
	}

	public ArrangeType getArrangeTypeinfo() {
		return arrangeTypeinfo;
	}

	public void setArrangeTypeinfo(ArrangeType arrangeTypeinfo) {
		this.arrangeTypeinfo = arrangeTypeinfo;
	}

	public long getTime() {
		return time;
	}

	public void setTime(long time) {
		this.time = time;
	}

	public long time() {
		return OtherUtils.getNeedTime(time);
	}

}
